package com.code.pattern.factory.factorymethod;

import com.code.pattern.factory.ICourse;
import com.code.pattern.factory.JavaCourse;

/**
 * @author: liyufei
 * @date: 2021-03-14 14:40
 */
public class JavaCourseFactory implements ICourseFactory {

    @Override
    public ICourse create() {
        return new JavaCourse();
    }
}
